<script type="text/javascript">
    $(
    	function(){
    		$("#{$id} [value={$value}]").attr("selected","selected");
    		if("{$function}"!="0"){
    			$("#{$id}").bind("change",function(){
    					doChange();
    				});
    	  }
    	}
    );
</script>
<select name="{$id}" id="{$id}">
	
	<option value="0">文章</option>
	<option value="1">案例</option>
	<option value="2">单页</option>
</select>
